Ext.define('APP.view.teacher.List' ,{
    extend: 'Ext.grid.Panel',
    alias : 'widget.teacherlist',
    title : 'All teacher',
    store: 'Teachers',
    initComponent: function() {
        this.columns = [
            {header: '名称',  dataIndex: 'name',  flex: 1},
            {header: '邮箱', dataIndex: 'email', flex: 1}
        ];
        this.callParent(arguments);
    }
});
